test: NetworkAnimator manual test updates for PR-2127#2205
Merged
NoelStephensUnity merged 56 commits intodevelopfrom Oct 4, 2022
Merged
Conversation
сo-authored: Andrei Soprachev <SoprachevAK@users.noreply.github.com>
Looking at the possibility of fixing the multiple trigger issue (i.e. multiple triggers are fired in the same frame on the same network animator that creates multiple transition states.
This is a new approach to synchronizing transitions with late joining players without having to actually set the associated conditional trigger. By building a small list of all states and then building a quick lookup table, we can just synchronize the "transition state" which for late joining clients is a cross fade between the start and destination state. We synchronize the normalized time (where it was in the transition on the server side when the client connected) of the transition this way as well. Now, we just synchronize states (which some can be transition states).
Updated a property name and added some network log warning and error messages.
Fixing issue with the PlayerPositionOffset always increasing and never just picking the first available spot. This update should fix that issue such that if a client disconnects from a 3 or more client session then the next client that connects will fill the disconnected client's position/slot.
…companion-pr-2127
…workanimator-manual-test-updates-companion-pr-2127
…workanimator-manual-test-updates-companion-pr-2127
…companion-pr-2127
…workanimator-manual-test-updates-companion-pr-2127
…workanimator-manual-test-updates-companion-pr-2127
…companion-pr-2127
…companion-pr-2127
…companion-pr-2127
…companion-pr-2127
…companion-pr-2127
jeffreyrainy
approved these changes
Oct 4, 2022
jakobbbb
pushed a commit
to GooseGirlGames/com.unity.netcode.gameobjects
that referenced
this pull request
Feb 22, 2023
…gies#2205) Fixes and additions to the NetworkAnimator manual tests.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR includes some adjustments to the NetworkAnimator manual test.
This is a companion PR to #2127. Merge after #2127 is merged.
Testing and Documentation